package com.ss.android.article.base.feature.feed;

import android.app.Activity;
import android.support.v4.app.Fragment;

import com.ss.android.article.base.feature.model.CategoryItem;

import java.util.List;

public interface FeedTab {
    void addDelayInitCallback(DelayInitCallback delayInitCallback);

    Activity getActivity();

    String getCategory();

    Fragment getCurrentFragment();

    void getCurrentList(int arg1, List result);

    void handleCategoryTip(String category, String tip, String count);

    boolean isActive();

    void onBackPressRefresh();

    void removeDelayInitCallback(DelayInitCallback delayInitCallback);

    void switchCategory(CategoryItem categoryItem, int arg2);

    class DelayInitCallback {
        public Activity activity;

        public DelayInitCallback(Activity activity) {
            this.activity = activity;
        }
    }

}

